<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
	<head>
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	</head>
	<body>
		<h1>User Add</h1>
		<s:fielderror/>
		<s:form action="doAdd">
			<table>
				<tr>
					<td>Username</td>
					<td><s:textfield key="user.username" /></td>
				</tr>
				<tr>
					<td>Password</td>
					<td><s:textfield key="user.password" /></td>
				</tr>
				<tr>
					<td>Description</td>
					<td><s:textfield key="user.description" /></td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" value="Submit"/>
						<input type="reset" value="Reset"/>
						<input type="button" value="Cancel" onClick="window.location.href='list.action'"/>
					</td>
				</tr>
			</table>
		</s:form>
	</body>
</html>